Skip to content

fix(core): include 'low' effort for deepseek-v4-flash - #3732

Merged
Astro-Han merged 2 commits into
apache:mainfrom
yunaremaia:fix/deepseek-flash-low-effort
Aug 25, 2026
Merged

fix(core): include 'low' effort for deepseek-v4-flash#3732
Astro-Han merged 2 commits into
apache:mainfrom
yunaremaia:fix/deepseek-flash-low-effort

Conversation

@yunaremaia

Copy link
Copy Markdown
Contributor

Summary

  • Adds 'low' to deepseek-v4-flash thinking efforts: ['high', 'max'] -> ['low', 'high', 'max'], with lastUpdated: '2026-08-24'.

This surfaced during review of #3605: the vision-exp entry inherited its pinned set from this sibling, whose value predates the model's 0731 refresh.

Evidence

  1. Official Thinking Mode guide accepts reasoning_effort of low/high/max and states the effort mapping table is "identical for deepseek-v4-flash and deepseek-v4-pro": https://api-docs.deepseek.com/guides/thinking_mode/
  2. The in-repo deepseek-v4-pro entry directly below already pins ['low', 'high', 'max'].
  3. models.dev's entry for this model was refreshed on its 0731 release date.

Test plan

  • biome check clean on the touched file
  • CI test

The official Thinking Mode guide accepts reasoning_effort low/high/max and
states the effort mapping is identical for deepseek-v4-flash and
deepseek-v4-pro; the deepseek-v4-pro entry here already pins the full set.
The pinned ['high','max'] predates the 0731 refresh of this model.
Updates the thinking-variants assertion to the corrected catalog set
['low','high','max'], asserts reasoningEffort passthrough for 'low', and
drops 'low' from the unsupported-effort loop.

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice clean fix. LGTM.

@Astro-Han
Astro-Han merged commit 902d785 into apache:main Aug 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants